home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
programs
/
gapdemo1.zip
/
EXTSH.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-06-25
|
860b
|
39 lines
@echo off
REM This is a sample batch file that can be used for HS-LINK
REM to download and send files at the same time.
REM First delete any DSZLOG files
del dszlog
REM Next delete any FILELST.TXT files created by READBTCH.EXE
del filelst.txt
REM Next, run READBTCH.EXE to create an indirection file for
REM HS-Link
readbtch
REM %5 is the upload directory path
REM %6 is a 0 or 1 flag where 0 means uploads are allowed
REM and 1 means they are not
REM following line deletes any files in the upload work directory
echo Y | del %5
if "%6" == "0" goto UPOK
REM Disable Uploads while downloading, since an Event is pending
REM or the caller doesn't have upload security
HSLINK -P%1 -E%2 -NU @filelst.txt
goto END
:UPOK
HSLINK -P%1 -E%2 -U%5 @filelst.txt
:END